package com.xzkydz.bluetoothlib.bean;

/**
 * 蓝牙打印方案
 */
public class Regulation {
    private String name = "默认方案";
    private int start = 0;
    private int end = 0;

    /**
     *
     * @param name 方案名称
     * @param start 需要打印的参数起始位置
     * @param end 需要打印的参数结束位置
     */
    public Regulation(String name, int start, int end) {
        this.name = name;
        this.start = start;
        this.end = end;
    }

    /**
     * 方案名称显示默认值
     * @param start
     * @param end
     */
    public Regulation(int start, int end) {
        this.start = start;
        this.end = end;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public int getEnd() {
        return end;
    }

    public void setEnd(int end) {
        this.end = end;
    }

}
